<div class="ii_search_2">
<form method="{if $_G[fid] && !empty($searchparams[url])}get{else}post{/if}" autocomplete="off" action="{if $_G[fid] && !empty($searchparams[url])}$searchparams[url]{else}search.php?searchsubmit=yes{/if}" target="_blank" onsubmit="javascript:if(){}">
<input type="text" name="srchtxt" id="srchtxt" value="请输入搜索关键词"/>
<input type="submit" class="ii_btn_submit"value=""/>
</form>
<div class="ii_hot_search">
	<!--{if $_G['setting']['srchhotkeywords']}-->
				<strong class="xw1">{lang hot_search}: </strong>
				<!--{loop $_G['setting']['srchhotkeywords'] $val}-->
					<!--{if $val=trim($val)}-->
						<!--{eval $valenc=rawurlencode($val);}-->
						<!--{block srchhotkeywords[]}-->
							<!--{if !empty($searchparams[url])}-->
								<a href="$searchparams[url]?q=$valenc&source=hotsearch{$srchotquery}" target="_blank" class="xi2" sc="1">$val</a>
							<!--{else}-->
								<a href="search.php?mod=forum&srchtxt=$valenc&formhash={FORMHASH}&searchsubmit=true&source=hotsearch" target="_blank" class="xi2" sc="1">$val</a>
							<!--{/if}-->
						<!--{/block}-->
					<!--{/if}-->
				<!--{/loop}-->
				<!--{echo implode('', $srchhotkeywords);}-->
	<!--{/if}-->
</div>
</div> 